package com.bkgy.controller.qualityDaily.controller;

import com.bkgy.controller.qualityDaily.service.IQualityFanService;
import com.bkgy.controller.qualityDaily.service.IQualityTuoService;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Tag(name = "质量脱合同")
@Controller
@RequestMapping("/qualityDaily")
public class QualityTuoController {
    @Autowired
    private IQualityTuoService service;
    @Autowired
    private IQualityFanService fanService;

    @Operation(summary = "导入脱合同测试数据")
    @PostMapping("/import")
    @ResponseBody
    public ResultData<String> import1() {
        return service.importTechParam();
    }
}
